import Vue from "vue";
import VueRouter from "vue-router";


Vue.use(VueRouter);

const routes = [
 
  {
    path: "/home",
    name: "Home",
    component: () =>
      import( "../views/Home/index.vue"),
  },
  {
    path: "/news",
    name: "News",
    component: () =>
      import( "../views/News/index.vue"),
  },
  {
    path: "/list",
    name: "List",
    component: () =>
      import( "../views/List/index.vue"),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
